package com.sacc.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 滚~韬
 * @date 2022/4/2 14:01
 */
@Data
@TableName("order_done")
public class OrderDone {
    @TableId(type= IdType.AUTO)
    private Integer id;
    @TableField("order_number")
    private String orderNumber;//订单号(纯数字)
    @TableField("product_ids")
    private String productIds;//产品id群
    @TableField("product_prices")
    private String productPrices;//产品价格群
    @TableField("product_numbers")
    private String productNumbers;//产品购买数量群
    @TableField("open_id")
    private String openId;//用户id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private LocalDateTime createTime;
}
